const MyPage = () => import('./MyPage.vue')
const LoginPage = () => import('./LoginPage.vue')
const MyLayout = () => import('./MyLayout.vue')
const plugins = function(VC) {
    VC.component('MyPage', MyPage)
    VC.component('LoginPage', LoginPage)
    VC.component('MyLayout', MyLayout)
    VC.filter('typeFilter', function(val,types){
        let dict = types.find(it=>it.code === val)
        if(!dict) return val
        return dict.name
    })
}
export default plugins